object NullAndnull {
  def main(args: Array[String]): Unit = {
//    val someRef:String = null
//    tryit(someRef)  // error: type mismath
    tryit(null) // is ok
    val nullRef:Null = null
    tryit(nullRef)  //is ok

  }

  def tryit(thing :Null):Unit = {
    println("Null...")
  }
}
